[IT] Location preferences

Tuesday, 26 January 2021 13:28:12
Total Iterations

1

Total Assertions

12

Total Failed Tests

12

Total Skipped Tests

0


File Information
Collection: [IT] Location preferences
Environment: Nightlies
Collection Description
``` Feature: location_preferences The location preferences allows a subscriber user to hide its location to others Scenario: get default location preferences Scenario: read an Updated location preference Scenario: Last meet position should not appear in crossings ```
Timings and Data
Total run duration: 36.8s
Total data received: 51.28KB
Average response time: 843ms
Summary Item Total Failed
Requests 37 0
Prerequest Scripts 57 0
Test Scripts 64 0
Assertions 12 12
Skipped Tests 0 -



Showing 12 Failures

Failed Test: users endpoint should return 200 when requestion location_preferences

Assertion Error Message
expected response to have status code 200 but got 403
Failed Test: hide_location should be false by default

Assertion Error Message
Cannot destructure property `hide_location` of 'undefined' or 'null'.
Failed Test: users endpoint should return 200 when user update location_preferences

Assertion Error Message
expected response to have status code 200 but got 403
Failed Test: hide_location should be true after update

Assertion Error Message
Cannot destructure property `hide_location` of 'undefined' or 'null'.
Failed Test: Revoke token should return 200

Assertion Error Message
expected response to have status code 200 but got 403
Failed Test: hide_location preferences are persisted

Assertion Error Message
Cannot destructure property `hide_location` of 'undefined' or 'null'.
Failed Test: User should be eligible to Suggested stack

Assertion Error Message
Cannot read property 'enable' of undefined
Failed Test: User should be eligible to Suggested stack

Assertion Error Message
Cannot read property 'enable' of undefined
Failed Test: last_meet_position should be null when user B activated hide_location

Assertion Error Message
expected undefined to deeply equal null
Failed Test: last_meet_position should be null when user B activated hide_location

Assertion Error Message
expected undefined to deeply equal null
Failed Test: User B should be in user A recommendation with no position

Assertion Error Message
Cannot read property 'find' of undefined
Failed Test: User B should be in user A crossings

Assertion Error Message
data.find is not a function


There are no skipped tests



1 Iteration available to view
Request Information
Request Method: POST
Request URL: http://varnish/connect/oauth/token
Response Information
Response Code: 403 - Forbidden
Mean time per request: 557ms
Mean size per request: 1.34KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
host varnish
User-Agent happn-test 1.10
Accept */*
Cache-Control no-cache
Postman-Token 0683cb80-22cc-4b1b-a926-c6603a114e96
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Type application/x-www-form-urlencoded
Content-Length 211
Request Body
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"admin@whoozer.fr","password":"wh00zerp0w3r"}
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:27:36 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1372
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users
Response Information
Response Code: 403 - Forbidden
Mean time per request: 935ms
Mean size per request: 1.76KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Authorization OAuth="null"
host varnish
Accept-Language fr_FR
CF-IPCountry FR
Content-Type application/json; charset=utf-8
User-Agent happn-test 1.10
Accept */*
Cache-Control no-cache
Postman-Token 18664d44-2aeb-418f-b8e4-d7cb1bc4561e
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 326
Request Body
{
            "type": "CLIENT",
            "login": "main.user_1611667656399A@example.com",
            "password": "00000000",
            "first_name": "Suggested stack A",
            "last_name": "api",
            "birth_date": "1988-01-01",
            "gender": "female",
            "salt": "NotReallySecuredS4lt",
            "nickname": "postman.userA",
            "workplace": "Postman test"
        }
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:27:37 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1804
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(75): Auth\\Service\\AuthService->checkAccessToken('user_create')\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Api_UsersController->postAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('postAction')\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#10 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#11 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/connect/oauth/token
Response Information
Response Code: 403 - Forbidden
Mean time per request: 806ms
Mean size per request: 1.34KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
host varnish
User-Agent happn-test 1.10
Accept-Language fr_FR
CF-IPCountry FR
Content-Type application/x-www-form-urlencoded
Accept */*
Cache-Control no-cache
Postman-Token ba5d771c-af2b-4673-af02-bf1dc011d601
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 227
Request Body
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"main.user_1611667656399A@example.com","password":"00000000"}
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:27:38 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1372
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
Test Information
No Tests for this request
Request Information
Request Method: GET
Request URL: http://varnish/api/users/null?fields=location_preferences
Response Information
Response Code: 403 - Forbidden
Mean time per request: 1068ms
Mean size per request: 1.86KB

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 2ee560d3-518b-4ca5-93e1-cea00ed50522
Host varnish
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:27:38 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1909
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(21): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(113): Api_UsersController->getAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
NamePassedFailedSkipped
users endpoint should return 200 when requestion location_preferences 0 1 0
hide_location should be false by default 0 1 0
Total 0 2 0
Test Failures
Test NameAssertion Error
users endpoint should return 200 when requestion location_preferences
expected response to have status code 200 but got 403
hide_location should be false by default
Cannot destructure property `hide_location` of 'undefined' or 'null'.
Request Information
Request Method: DELETE
Request URL: http://varnish/api/users/null?to_delete=true
Response Information
Response Code: 403 - Forbidden
Mean time per request: 366ms
Mean size per request: 72B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
CF-IPCountry FR
Cookie
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 5ace848f-2a7b-468c-a9d5-9bc41ff12a4f
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Content-Type application/json
Date Tue, 26 Jan 2021 13:27:39 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Transfer-Encoding chunked
Response Body
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/connect/oauth/token
Response Information
Response Code: 403 - Forbidden
Mean time per request: 1135ms
Mean size per request: 1.34KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
host varnish
User-Agent happn-test 1.10
Accept */*
Cache-Control no-cache
Postman-Token 616724b1-721a-468c-a03a-3e2d6bf921ed
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Type application/x-www-form-urlencoded
Content-Length 211
Request Body
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"admin@whoozer.fr","password":"wh00zerp0w3r"}
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:27:40 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1372
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users
Response Information
Response Code: 403 - Forbidden
Mean time per request: 948ms
Mean size per request: 1.76KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Authorization OAuth="null"
host varnish
Accept-Language fr_FR
CF-IPCountry FR
Content-Type application/json; charset=utf-8
User-Agent happn-test 1.10
Accept */*
Cache-Control no-cache
Postman-Token e01801e4-b8dc-4189-a1e3-24eba9f026d9
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 326
Request Body
{
            "type": "CLIENT",
            "login": "main.user_1611667660979A@example.com",
            "password": "00000000",
            "first_name": "Suggested stack A",
            "last_name": "api",
            "birth_date": "1988-01-01",
            "gender": "female",
            "salt": "NotReallySecuredS4lt",
            "nickname": "postman.userA",
            "workplace": "Postman test"
        }
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:27:41 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1804
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(75): Auth\\Service\\AuthService->checkAccessToken('user_create')\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Api_UsersController->postAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('postAction')\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#10 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#11 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/connect/oauth/token
Response Information
Response Code: 403 - Forbidden
Mean time per request: 508ms
Mean size per request: 1.34KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
host varnish
User-Agent happn-test 1.10
Accept-Language fr_FR
CF-IPCountry FR
Content-Type application/x-www-form-urlencoded
Accept */*
Cache-Control no-cache
Postman-Token 61b8ecc8-ae96-4292-a748-e5b170872621
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 227
Request Body
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"main.user_1611667660979A@example.com","password":"00000000"}
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:27:42 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1372
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
Test Information
No Tests for this request
Request Information
Request Method: PUT
Request URL: http://varnish/api/users/null?fields=location_preferences
Response Information
Response Code: 403 - Forbidden
Mean time per request: 1110ms
Mean size per request: 1.87KB

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Authorization OAuth="null"
Content-Type application/json
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token a80f39e0-bcce-4a78-9100-c047e17693f3
Host varnish
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 70
Request Body
{
            "location_preferences" : {
                "hide_location": true
            }
        }
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:27:43 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1910
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(163): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(121): Api_UsersController->putAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
NamePassedFailedSkipped
users endpoint should return 200 when user update location_preferences 0 1 0
hide_location should be true after update 0 1 0
Total 0 2 0
Test Failures
Test NameAssertion Error
users endpoint should return 200 when user update location_preferences
expected response to have status code 200 but got 403
hide_location should be true after update
Cannot destructure property `hide_location` of 'undefined' or 'null'.
Request Information
Request Method: GET
Request URL: http://varnish/connect/oauth/revoke-token
Response Information
Response Code: 403 - Forbidden
Mean time per request: 606ms
Mean size per request: 1.77KB

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Authorization OAuth="null"
host varnish
User-Agent happn-test 1.10
Accept */*
Cache-Control no-cache
Postman-Token de2b1774-0570-4109-a350-818efeef626d
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:27:44 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1816
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(69): Auth\\Service\\AuthService->checkAccessToken('')\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->revokeTokenAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('revokeTokenActi...')\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#10 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#11 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
NamePassedFailedSkipped
Revoke token should return 200 0 1 0
Total 0 1 0
Test Failure
Test NameAssertion Error
Revoke token should return 200
expected response to have status code 200 but got 403
Request Information
Request Method: POST
Request URL: http://varnish/connect/oauth/token
Response Information
Response Code: 403 - Forbidden
Mean time per request: 502ms
Mean size per request: 1.34KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
host varnish
User-Agent happn-test 1.10
Accept-Language fr_FR
CF-IPCountry FR
Content-Type application/x-www-form-urlencoded
Accept */*
Cache-Control no-cache
Postman-Token 7a8dcdd4-1b55-487a-a944-92d675e2a910
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 227
Request Body
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"main.user_1611667660979A@example.com","password":"00000000"}
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:27:44 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Connection keep-alive
Transfer-Encoding chunked
Response Body
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
Test Information
No Tests for this request
Request Information
Request Method: GET
Request URL: http://varnish/api/users/null?fields=location_preferences
Response Information
Response Code: 403 - Forbidden
Mean time per request: 527ms
Mean size per request: 1.86KB

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 3c1deb40-86f2-4c1d-b666-7bbbb349288a
Host varnish
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:27:45 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1909
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(21): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(113): Api_UsersController->getAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
NamePassedFailedSkipped
hide_location preferences are persisted 0 1 0
Total 0 1 0
Test Failure
Test NameAssertion Error
hide_location preferences are persisted
Cannot destructure property `hide_location` of 'undefined' or 'null'.
Request Information
Request Method: DELETE
Request URL: http://varnish/api/users/null?to_delete=true
Response Information
Response Code: 403 - Forbidden
Mean time per request: 576ms
Mean size per request: 72B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
CF-IPCountry FR
Cookie
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token d45027c8-84cf-4cf8-bca4-496fd3668320
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Content-Type application/json
Date Tue, 26 Jan 2021 13:27:45 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 72
Connection keep-alive
Response Body
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/connect/oauth/token
Response Information
Response Code: 403 - Forbidden
Mean time per request: 853ms
Mean size per request: 1.34KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
host varnish
User-Agent happn-test 1.10
Accept */*
Cache-Control no-cache
Postman-Token 5bc2ded1-76b8-48b2-9a17-f758cd3e3fae
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Type application/x-www-form-urlencoded
Content-Length 211
Request Body
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"admin@whoozer.fr","password":"wh00zerp0w3r"}
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:27:46 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1372
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users
Response Information
Response Code: 403 - Forbidden
Mean time per request: 497ms
Mean size per request: 1.76KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Authorization OAuth="null"
host varnish
Accept-Language fr_FR
CF-IPCountry FR
Content-Type application/json; charset=utf-8
User-Agent happn-test 1.10
Accept */*
Cache-Control no-cache
Postman-Token 36755381-60b2-4d23-872b-6a9a53bcb3a0
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 320
Request Body
{
            "type": "CLIENT",
            "login": "main.user_1611667666963A@example.com",
            "password": "00000000",
            "first_name": "Main user A",
            "last_name": "api",
            "birth_date": "1988-01-01",
            "gender": "female",
            "salt": "NotReallySecuredS4lt",
            "nickname": "postman.userA",
            "workplace": "Postman test"
        }
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:27:47 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1804
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(75): Auth\\Service\\AuthService->checkAccessToken('user_create')\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Api_UsersController->postAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('postAction')\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#10 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#11 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/connect/oauth/token
Response Information
Response Code: 403 - Forbidden
Mean time per request: 642ms
Mean size per request: 1.34KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
host varnish
User-Agent happn-test 1.10
Accept-Language fr_FR
CF-IPCountry FR
Content-Type application/x-www-form-urlencoded
Accept */*
Cache-Control no-cache
Postman-Token e43291f6-eefe-4963-b38d-0de95669bf6b
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 227
Request Body
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"main.user_1611667666963A@example.com","password":"00000000"}
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:27:48 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1372
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
Test Information
No Tests for this request
Request Information
Request Method: OPTIONS
Request URL: http://varnish/api
Response Information
Response Code: 403 - Forbidden
Mean time per request: 687ms
Mean size per request: 1.87KB

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 87fdd338-ef66-493c-97c6-a35c9bf92158
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:27:48 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1913
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/IndexController.php(75): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(130): Api_IndexController->optionsAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
NamePassedFailedSkipped
User should be eligible to Suggested stack 0 1 0
Total 0 1 0
Test Failure
Test NameAssertion Error
User should be eligible to Suggested stack
Cannot read property 'enable' of undefined
Request Information
Request Method: PUT
Request URL: http://varnish/api/users/me?fields=matching_preferences
Response Information
Response Code: 403 - Forbidden
Mean time per request: 365ms
Mean size per request: 1.87KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 9f001627-1ad1-479a-919a-8a5111f7b071
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 72
Request Body
{"matching_preferences":{"female":1,"male":1,"age_max":50,"age_min":18}}
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:27:49 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1910
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(163): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(121): Api_UsersController->putAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users/me/images
Response Information
Response Code: 403 - Forbidden
Mean time per request: 347ms
Mean size per request: 72B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/x-www-form-urlencoded
Authorization OAuth="null"
User-Agent happn/2300 CFNetwork/897.15 Darwin/18.7.0
Accept */*
Cache-Control no-cache
Postman-Token d73837ce-2117-448c-b66b-d89cf1b782d6
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 86
Request Body
{"image_url":"https%3A%2F%2Frandomuser.me%2Fapi%2Fportraits%2Fwomen%2F24.jpg"}
Response Headers
Header NameHeader Value
Content-Type application/json
Date Tue, 26 Jan 2021 13:27:49 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 72
Connection keep-alive
Response Body
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: PUT
Request URL: http://varnish/api/users/me?fields=profiles
Response Information
Response Code: 403 - Forbidden
Mean time per request: 1248ms
Mean size per request: 1.87KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 4f17fbcd-177e-4cd1-b9cd-c3c61ba0b74e
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 233
Request Body
{
        	"profiles": [{"id":"1c07ffb0-d953-11e9-bb9b-41b3dc1caf7d","url":"https://happn-dev.s3.amazonaws.com/cache/images/579d334d-a7fd-47f9-ae70-ebc787f2736c/320-320.0_1c07ffb0-d953-11e9-bb9b-41b3dc1caf7d.jpg","width":320,"height":320}]
        }
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:27:49 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1910
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(163): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(121): Api_UsersController->putAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users/me/devices?type=ios&fields=id
Response Information
Response Code: 403 - Forbidden
Mean time per request: 1271ms
Mean size per request: 1.88KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Cookie
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 662e07ad-dcf3-4c1f-bbe7-49282b2820c7
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 42
Request Body
{
          "type": "ios",
          "app_build": "9999"
        }
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:27:51 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1922
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UserDevicesController.php(98): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(118): Api_UserDevicesController->postAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users/me/position?type=ios
Response Information
Response Code: 403 - Forbidden
Mean time per request: 1151ms
Mean size per request: 1.88KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
X-Happn-DID null
Content-Type application/json; charset=utf-8
Cookie
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 89f573dd-fcf9-4430-93be-054f743fff50
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 99
Request Body
{
            "latitude": 65.49193136208638,
            "longitude": -24.846669550067332,
            "country_id": "FR"
        }
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:27:53 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1924
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UserPositionController.php(18): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(118): Api_UserPositionController->postAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/connect/oauth/token
Response Information
Response Code: 403 - Forbidden
Mean time per request: 1824ms
Mean size per request: 1.34KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
host varnish
User-Agent happn-test 1.10
Accept */*
Cache-Control no-cache
Postman-Token e1a3629f-23d1-4d51-afa0-6dc0b6e610b9
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Type application/x-www-form-urlencoded
Content-Length 211
Request Body
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"admin@whoozer.fr","password":"wh00zerp0w3r"}
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:27:54 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1372
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users
Response Information
Response Code: 403 - Forbidden
Mean time per request: 418ms
Mean size per request: 1.76KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Authorization OAuth="null"
host varnish
Accept-Language fr_FR
CF-IPCountry FR
Content-Type application/json; charset=utf-8
User-Agent happn-test 1.10
Accept */*
Cache-Control no-cache
Postman-Token c6f8214e-4132-4788-b8ab-9e9a02d80662
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 317
Request Body
{
            "type": "CLIENT",
            "login": "crossing1611667675359B@example.com",
            "password": "00000000",
            "first_name": "Crossing B",
            "last_name": "api",
            "birth_date": "1988-01-01",
            "gender": "female",
            "salt": "NotReallySecuredS4lt",
            "nickname": "postman.userB",
            "workplace": "Postman test"
        }
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:27:55 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1804
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(75): Auth\\Service\\AuthService->checkAccessToken('user_create')\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Api_UsersController->postAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('postAction')\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#10 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#11 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/connect/oauth/token
Response Information
Response Code: 403 - Forbidden
Mean time per request: 542ms
Mean size per request: 1.34KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
host varnish
User-Agent happn-test 1.10
Accept-Language fr_FR
CF-IPCountry FR
Content-Type application/x-www-form-urlencoded
Accept */*
Cache-Control no-cache
Postman-Token e2d7212a-0a28-4a20-a506-56f26271da74
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 225
Request Body
{"scope":"mobile_app admin_scopes","client_secret":"HqP-3AgvmsFPOGFT9hsBx0F6a5xLc5NTQ5hxIz3Jfj","client_id":"sDDOEtsfJmfydw6Uos3F_YewFNoDzrxdsKN96OQK9e","grant_type":"password","username":"crossing1611667675359B@example.com","password":"00000000"}
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:27:56 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1372
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_client","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(212): Auth\\Service\\AuthService->extractAndValidateAuthParams(Array)\n#1 \/var\/www\/happn-api\/application\/modules\/connect\/controllers\/OauthController.php(53): Auth\\Service\\AuthService->grantAccessToken(Array)\n#2 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): Connect_OauthController->tokenAction()\n#3 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('tokenAction')\n#4 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#5 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#7 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#8 {main}","message_exception":"invalid_client"},"error_code":1002}
Test Information
No Tests for this request
Request Information
Request Method: OPTIONS
Request URL: http://varnish/api
Response Information
Response Code: 403 - Forbidden
Mean time per request: 606ms
Mean size per request: 1.87KB

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 7cca82a9-3f17-4b4d-abb5-e30cee641670
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:27:56 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1913
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/IndexController.php(75): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(130): Api_IndexController->optionsAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
NamePassedFailedSkipped
User should be eligible to Suggested stack 0 1 0
Total 0 1 0
Test Failure
Test NameAssertion Error
User should be eligible to Suggested stack
Cannot read property 'enable' of undefined
Request Information
Request Method: PUT
Request URL: http://varnish/api/users/me?fields=matching_preferences
Response Information
Response Code: 403 - Forbidden
Mean time per request: 2.1s
Mean size per request: 1.87KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 654b4bbe-d750-47bd-bef8-16d45b8569c3
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 118
Request Body
{"matching_preferences":{"female":1,"male":1,"age_max":50,"age_min":18},"location_preferences":{"hide_location":true}}
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:27:58 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1910
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(163): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(121): Api_UsersController->putAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users/me/images
Response Information
Response Code: 403 - Forbidden
Mean time per request: 232ms
Mean size per request: 72B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/x-www-form-urlencoded
Authorization OAuth="null"
User-Agent happn/2300 CFNetwork/897.15 Darwin/18.7.0
Accept */*
Cache-Control no-cache
Postman-Token 91513792-747e-4684-a77b-3e28e9d39fe8
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 84
Request Body
{"image_url":"https%3A%2F%2Frandomuser.me%2Fapi%2Fportraits%2Fmen%2F53.jpg"}
Response Headers
Header NameHeader Value
Content-Type application/json
Date Tue, 26 Jan 2021 13:27:59 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 72
Connection keep-alive
Response Body
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: PUT
Request URL: http://varnish/api/users/me?fields=profiles
Response Information
Response Code: 403 - Forbidden
Mean time per request: 808ms
Mean size per request: 1.87KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token d7da30d6-29b8-4186-91a4-e4d0164adf22
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 233
Request Body
{
        	"profiles": [{"id":"1c07ffb0-d953-11e9-bb9b-41b3dc1caf7d","url":"https://happn-dev.s3.amazonaws.com/cache/images/579d334d-a7fd-47f9-ae70-ebc787f2736c/320-320.0_1c07ffb0-d953-11e9-bb9b-41b3dc1caf7d.jpg","width":320,"height":320}]
        }
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:28:00 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1910
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(163): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(121): Api_UsersController->putAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users/me/devices?type=ios&fields=id
Response Information
Response Code: 403 - Forbidden
Mean time per request: 1411ms
Mean size per request: 1.88KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
Content-Type application/json; charset=utf-8
Cookie
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token dd0eb05d-2f8c-47a3-b446-bacb6bba9183
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 42
Request Body
{
          "type": "ios",
          "app_build": "9999"
        }
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:28:01 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1922
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UserDevicesController.php(98): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(118): Api_UserDevicesController->postAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: POST
Request URL: http://varnish/api/users/me/position?type=ios
Response Information
Response Code: 403 - Forbidden
Mean time per request: 1047ms
Mean size per request: 1.88KB

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
X-Happn-DID null
Content-Type application/json; charset=utf-8
Cookie
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 31cc458c-182b-4c43-b667-8a3e57478cab
Accept-Encoding gzip, deflate, br
Connection keep-alive
Content-Length 99
Request Body
{
            "latitude": 65.49193136208638,
            "longitude": -24.846669550067332,
            "country_id": "FR"
        }
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:28:02 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1924
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UserPositionController.php(18): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(118): Api_UserPositionController->postAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: GET
Request URL: http://varnish/api/users/null?fields=id,last_meet_position
Response Information
Response Code: 403 - Forbidden
Mean time per request: 2.4s
Mean size per request: 1.86KB

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Authorization OAuth="null"
X-HAPPN-DID null
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token feb1adff-13b2-4c89-83b7-edad1e764881
Host varnish
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:28:04 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1909
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(21): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(113): Api_UsersController->getAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
NamePassedFailedSkipped
last_meet_position should be null when user B activated hide_location 0 1 0
Total 0 1 0
Test Failure
Test NameAssertion Error
last_meet_position should be null when user B activated hide_location
expected undefined to deeply equal null
Request Information
Request Method: GET
Request URL: http://varnish/api/users/null?fields=id,last_meet_position
Response Information
Response Code: 403 - Forbidden
Mean time per request: 1400ms
Mean size per request: 1.86KB

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Authorization OAuth="null"
X-HAPPN-DID null
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 5ad80a81-833c-48da-8306-f4e5a2820bef
Host varnish
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:28:06 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1909
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UsersController.php(21): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(113): Api_UsersController->getAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
NamePassedFailedSkipped
last_meet_position should be null when user B activated hide_location 0 1 0
Total 0 1 0
Test Failure
Test NameAssertion Error
last_meet_position should be null when user B activated hide_location
expected undefined to deeply equal null
Request Information
Request Method: GET
Request URL: http://varnish/api/v1/users/me/recommendations
Response Information
Response Code: 403 - Forbidden
Mean time per request: 577ms
Mean size per request: 72B

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Authorization OAuth="null"
X-Happn-DID null
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 972f3637-998a-4aac-bf8b-63a9299aa388
Host varnish
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Content-Type application/json
Date Tue, 26 Jan 2021 13:28:11 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 72
Connection keep-alive
Response Body
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
Test Information
NamePassedFailedSkipped
User B should be in user A recommendation with no position 0 1 0
Total 0 1 0
Test Failure
Test NameAssertion Error
User B should be in user A recommendation with no position
Cannot read property 'find' of undefined
Request Information
Request Method: GET
Request URL: http://varnish/api/users/me/crossings
Response Information
Response Code: 403 - Forbidden
Mean time per request: 781ms
Mean size per request: 1.88KB

Test Pass Percentage
0 %
Request Headers
Header NameHeader Value
Authorization OAuth="null"
X-Happn-DID null
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 370b165d-40e8-4f84-bd5c-7681a960b8f0
Host varnish
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Date Tue, 26 Jan 2021 13:28:11 GMT
Content-Type application/json
Access-Control-Allow-Origin *
Access-Control-Allow-Methods GET, POST, PUT, DELETE, PATCH, OPTIONS
Access-Control-Max-Age 0
Access-Control-Allow-Headers Authorization, Content-Type, X-Happn-CID, X-Happn-DID, X-HAPPN-VERSION, X-HAPPN-CARRIER-COUNTRY
X-Backend legacy
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 1926
Connection keep-alive
Response Body
{"success":false,"status":403,"error":"invalid_token","data":{"trace":"#0 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(910): Auth\\Service\\AuthService->decodeAccessToken('null', 'zB4Vo0TGzYV+uGQ...', NULL)\n#1 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(889): Auth\\Service\\AuthService->getAccessTokenArray('null')\n#2 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(789): Auth\\Service\\AuthService->getAccessToken('null')\n#3 \/var\/www\/happn-api\/application\/services\/Auth\/Service\/AuthService.php(711): Auth\\Service\\AuthService->verifyAccessToken()\n#4 \/var\/www\/happn-api\/application\/modules\/api\/controllers\/UserCrossingsController.php(8): Auth\\Service\\AuthService->checkAccessToken()\n#5 \/var\/www\/happn-api\/library\/IT\/Controller\/Rest.php(115): Api_UserCrossingsController->indexAction()\n#6 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Action.php(516): IT_Controller_Rest->methodDispatchAction()\n#7 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Dispatcher\/Standard.php(308): Zend_Controller_Action->dispatch('methodDispatchA...')\n#8 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Controller\/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))\n#9 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application\/Bootstrap\/Bootstrap.php(105): Zend_Controller_Front->dispatch()\n#10 \/var\/www\/happn-api\/vendor\/zendframework\/zendframework1\/library\/Zend\/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()\n#11 \/var\/www\/happn-api\/public\/index.php(102): Zend_Application->run()\n#12 {main}","message_exception":"invalid_token"},"error_code":1010}
Test Information
NamePassedFailedSkipped
User B should be in user A crossings 0 1 0
Total 0 1 0
Test Failure
Test NameAssertion Error
User B should be in user A crossings
data.find is not a function
Request Information
Request Method: DELETE
Request URL: http://varnish/api/users/null?to_delete=true
Response Information
Response Code: 403 - Forbidden
Mean time per request: 162ms
Mean size per request: 72B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
CF-IPCountry FR
Cookie
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token d70dc437-9dc2-41ec-9b96-e7aad7838785
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Content-Type application/json
Date Tue, 26 Jan 2021 13:28:12 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 72
Connection keep-alive
Response Body
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
Test Information
No Tests for this request
Request Information
Request Method: DELETE
Request URL: http://varnish/api/users/null?to_delete=true
Response Information
Response Code: 403 - Forbidden
Mean time per request: 203ms
Mean size per request: 72B

Test Pass Percentage
No Tests for this request
Request Headers
Header NameHeader Value
Host varnish
CF-IPCountry FR
Cookie
Authorization OAuth="null"
User-Agent PostmanRuntime/7.26.8
Accept */*
Cache-Control no-cache
Postman-Token 67270635-b2bb-416b-8d03-29e0b8aec6ee
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Content-Type application/json
Date Tue, 26 Jan 2021 13:28:12 GMT
X-Backend gateway
Age 0
Cache-Control max-age=0, no-cache, no-store, must-revalidate
Content-Length 72
Connection keep-alive
Response Body
{"status":403,"success":false,"error":"invalid_token","error_code":1010}
Test Information
No Tests for this request